import {get, post, del, put} from "@/apis/http/request";
import {SysAdminApplyProxy} from "@/apis/model/proxy/SysAdminApplyProxyModel";

/**
* 得到列表
* @param params
*/
export const getSysAdminApplyProxyList = (params: any) => get("/sysAdminApplyProxy/list", params)

/**
* 得到分页列表
* @param params
*/
export const sysAdminApplyProxyPage = (params: any) => post("/sysAdminApplyProxy/page", params)

/**
* 删除数据
* @param id
* @returns
*/
export const deleteSysAdminApplyProxyById = (id: number) => del("/sysAdminApplyProxy/delete/"+ id)

/**
* 新增数据
* @param param
*/
export const insertSysAdminApplyProxy = (param: SysAdminApplyProxy) => post("/sysAdminApplyProxy", param)

/**
* 更新数据
* @param param
*/
export const updateSysAdminApplyProxy = (param: SysAdminApplyProxy) => put("/sysAdminApplyProxy", param)